package com.study.portal.pojo;

import java.util.Date;

import com.study.portal.pojo.comm.FilterEntity;

public class Bbs extends FilterEntity {
    /** 正常 **/
    public static final String STATUS_Y = "Y";
    /** 不正常 **/
    public static final String STATUS_N = "N";
    
    private UserAccount userAccount;
    
    public UserAccount getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(UserAccount userAccount) {
        this.userAccount = userAccount;
    }

    private Integer id;// int
    private String bbsTitle;// varchar
    private String context;// text
    private Date createTime;// timestamp
    private String userId;// varchar
    private Integer bbsTypeId;// int
    private Integer click;// int
    private Integer commentNum;// int
    private String status;// char
    
    public Integer getId() {
        return id;
    }

    public String getBbsTitle() {
        return bbsTitle;
    }

    public String getContext() {
        return context;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getUserId() {
        return userId;
    }

    public Integer getClick() {
        return click;
    }

    public Integer getCommentNum() {
        return commentNum;
    }

    public String getStatus() {
        return status;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setBbsTitle(String bbsTitle) {
        this.bbsTitle = bbsTitle;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getBbsTypeId() {
        return bbsTypeId;
    }

    public void setBbsTypeId(Integer bbsTypeId) {
        this.bbsTypeId = bbsTypeId;
    }

    public void setClick(Integer click) {
        this.click = click;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
